/*
 * @Author: sympsel sympsel@outlook.com
 * @Date: 2025-07-28 17:13:09
 * @LastEditors: sympsel sympsel@outlook.com
 * @LastEditTime: 2025-07-28 17:27:58
 * @FilePath: \work25_7_28_2\src\SinglyLinkedList.c
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
#include "universal.h"


typedef struct SinglyLinkedList {
    int data;
    struct LinkedList* next;
} LinkedList;

LinkedList* create_list() {
    
}

LinkedList* createNode(int data) {
    LinkedList* newNode = MALLOC(int, 1);
    newNode->data = data;
    newNode->next = NULL;
    return newNode;
}

// void listAdd(LinkedList* list, int data) {
//     LinkedList* newNode = createNode(data);
//     if (list == NULL) {
//         list = // 二级指针
//     }
// }